package com.wsoft.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 编码规则表
 * </p>
 *
 * @author z001
 * @since 2024年10月17日 13:18:32
 */
@Getter
@Setter
@TableName("ts_code_rules_data")
@Schema(name = "TsCodeRulesDataEntity", description = "编码规则表")
public class TsCodeRulesDataEntity extends BaseEntity {

    @Schema(description = "编码")
    @TableField("code")
    private String code;

    @Schema(description = "定义规则json")
    @TableField("rules_json")
    private String rulesJson;

    @Schema(description = "当前流水号(最大值)")
    @TableField("serial_number")
    private String serialNumber;

    @Schema(description = "当前需要补码的值集合")
    @TableField("cover_list")
    private String coverList;

    @Schema(description = "类型")
    @TableField("type")
    private Integer type;

    @Schema(description = "类名(全路径)")
    @TableField("class_name")
    private String className;

    @Schema(description = "参数json")
    @TableField("params")
    private String params;

    @Schema(description = "参数object")
    @TableField("params_object")
    private String paramsObject;

    @Schema(description = "编码长度")
    @TableField("length")
    private Integer length;

    @Schema(description = "规则json")
    @TableField("rules")
    private String rules;

    @Schema(description = "版本")
    @TableField("version")
    private Integer version;

}
